package ecom.appcode.business;

import java.util.List;

import ecom.appcode.common.daobean.ShoesDaoBean;
public interface ShoesLogic {
    
    /** Load top 8 Featured Product*/
    List<ShoesDaoBean> loadNewArrivalsItems(String date, int index);
    
    /** Load a Shoes*/
    ShoesDaoBean loadAShoesProduct(int shoesID);
    
    /** Load Shoes by categoryID*/
    List<ShoesDaoBean> loadShoesbyCategoryIDAndSex(int categoryID,String sex);
    
    /** Load Product by categoryID */
    List<ShoesDaoBean> loadShoesbyCategoryID(int categoryID);
    
    /** Load TOP 20 Sale Item */
    List<ShoesDaoBean> loadTop20SaleShoes();
    
    /** Search shoes by name and Color */
    List<ShoesDaoBean> searchShoes(String name, String color);
    
    /** Load color on combo box*/
    List<ShoesDaoBean> loadColor();
    
    /** Load All Sale Items */
    List<ShoesDaoBean> loadAllSaleItems();
    
    /** Select all Shoes for admin page */
    List<ShoesDaoBean> loadAllShoes();
    
    /** Add new Shoes */
    boolean addNewShoes(String name, String color, float unitPrice, int quantity, String urlImage, int categoryID,
            String sex, String dateCarry, float discount, String description, String brand);
    
    /** Update Shoes */
    boolean updateShoes(int shoesID, String name, String color, float unitPrice, int quantity, String urlImage,
            int categoryID, String sex, String dateCarry, float discount, String description, String brand);
    
    /** Delete Shoes */
    boolean deleteShoes(int shoesID);
    
    /** Load Shoes New Arrivals */
    List<ShoesDaoBean> loadShoesNewArrivals(int categoryID, String date);
}


